window.onload = function () {
    let btn = document.querySelector("button");
    let objDiv = document.querySelector("div");
    btn.onclick = function () {
        objDiv.style.backgroundColor = "skyblue";
    }
}